home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / fx / bh_wood_hard.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.3 KB  |  75 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 1.0
  5.     path models/fx/dummy
  6.     skelmodel dummy2.skd
  7. }
  8.  
  9. init
  10. {
  11.     server
  12.     {
  13.     }
  14.     client
  15.     {
  16.         //cache some stuff used in this effect
  17.         cache bhole_wood.spr // cache the bullet hole shader
  18.         cache models/fx/bh_wood_piece.tik
  19.         cache models/fx/bh_wood_puff_simple.tik
  20.  
  21.         // concentrated puff of wood debris
  22.         sfx originspawn
  23.         (
  24.             model models/fx/bh_wood_puff_simple.tik
  25.             spritegridlighting
  26.             alpha 0.6
  27.             count 1
  28.             life 0.25
  29.             scale 24
  30.             scalerate 16
  31.             fade
  32.         )
  33.  
  34.         // wood chunks
  35.         sfx originspawn
  36.         (
  37.             model models/fx/bh_wood_piece.tik
  38.             spritegridlighting
  39.             alpha 1.0
  40.             count 3
  41.             angles random 360 random 360 random 360
  42.             life 2.6 0.7
  43.             scalemin 1.2
  44.             scalemax 2
  45.             fadedelay 0.5
  46.             color .4 .3 .17
  47.         )
  48.  
  49.         // slightly delayed, wood chunks
  50.         delayedsfx 0.1 originspawn
  51.         (
  52.             model models/fx/bh_wood_piece.tik
  53.             spritegridlighting
  54.             alpha 1.0
  55.             count 8
  56.             angles random 360 random 360 0
  57.             avelocity crandom 180 crandom 180 0
  58.             velocity 75
  59.             randvelaxis random 125 crandom 60 crandom 60
  60.             friction .5
  61.             accel 0 0 -800
  62.             life 0.6 0.7
  63.             scalemin 0.6
  64.             scalemax 1.4
  65.             fadedelay 0.5
  66.             color .4 .3 .17
  67.         )
  68.     }
  69. }
  70.  
  71. // This section is just needed to be a valid tiki file
  72. animations
  73. {
  74.     idle dummy2.skc
  75. }